#include "Cell.h"

Cell::Cell() {
	this->textCoordX = 0;
	this->textCoordY = 0;
	this->id = -1;
	this->passable = false;
}

Cell::Cell(int id, int textCoordX, int textCoordY, bool passable) {
	this->id = id;
	this->textCoordX = textCoordX;
	this->textCoordY = textCoordY;
	this->passable = passable;
}

Cell::Cell(const Cell &source) {
	this->textCoordX = source.textCoordX;
	this->textCoordY = source.textCoordY;
	this->id = source.id;
	this->passable = source.passable;
}

Cell& Cell::operator=(const Cell &other) {
	this->textCoordX = other.textCoordX;
	this->textCoordY = other.textCoordY;
	this->id = other.id;
	this->passable = other.passable;

	return *this;
}
